package com.six.work.services;

import com.github.pagehelper.PageInfo;
import com.six.work.entity.Applicant;
import com.six.work.entity.Company;
import org.apache.ibatis.annotations.Param;


import java.util.Date;
import java.util.List;

public interface ApplicantServices {
    List<Applicant> findAllApplicant();

    List<Applicant> findAppByAppName(String applicant_name);

    List<Applicant> findAppByStateAndAppName(String applicant_name,Integer state_id);

    List<Applicant> findAllApplicantJob();


    //求职者发布管理的查询,分页功能已完成
    PageInfo<Applicant> findAppJobByName(String appName,Integer num);

    Integer DelAppByID(Integer applicant_id);

    //求职者信息管理的查询
    PageInfo<Applicant> findAppByName(String appName,Integer num);



    String updateAppState(Integer applicant_id);

    String updateAppState1(Integer applicant_id);

    Applicant UserLogin(String applicant_number);

    Integer insertApp(Applicant applicant);

    Integer updateApplicant(Applicant applicant);

    Applicant SelectAppByID(Integer applicant_id);


    //可视化
    List<Applicant> findAllApp();
    //今日新增
    Integer FindTodayCom();

    //本月新增
    Integer FindMonthCom();

    Integer updateApp(Applicant applicant);
}
